Type
TODO: REPLACE
Content copied to clipboard
meshtastic.HardwareMessage.Type
Entries
Properties
Link copied to clipboard
The gpios listed in gpio_mask have changed, the new values are listed in gpio_value
Content copied to clipboard
GPIOS_CHANGED = 3;
Link copied to clipboard
A reply to READ_GPIOS. gpio_mask and gpio_value will be populated
Content copied to clipboard
READ_GPIOS_REPLY = 5;
Link copied to clipboard
Read the gpios specified in gpio_mask, send back a READ_GPIOS_REPLY reply with gpio_value populated
Content copied to clipboard
READ_GPIOS = 4;
Link copied to clipboard
Unset/unused
Content copied to clipboard
UNSET = 0;
Link copied to clipboard
We are now interested in watching the gpio_mask gpios.
If the selected gpios change, please broadcast GPIOS_CHANGED.
Will implicitly change the gpios requested to be INPUT gpios.
Content copied to clipboard
WATCH_GPIOS = 2;
Link copied to clipboard
Set gpio gpios based on gpio_mask/gpio_value
Content copied to clipboard
WRITE_GPIOS = 1;
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Link copied to clipboard
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.